package comp302.prototype;

import javax.swing.JPanel;

import comp302.prototype.slide.AdditionItem;
import javax.swing.BoxLayout;

public class PreviewPanel extends JPanel {
	private static final long serialVersionUID = 987650793665115933L;
	
	private JPanel previewSection;

	public PreviewPanel() {
		super();
		AdditionItem additionItem = new AdditionItem();
		
		setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
		previewSection = new JPanel();
		previewSection.setLayout(new BoxLayout(previewSection, BoxLayout.Y_AXIS));
		add(previewSection);
		additionItem.setSize(100, 100);
		add(additionItem);
	}
	
	public JPanel getPreviewSection() {
		return previewSection;
	}
}
